package c.h.a.z;

import android.widget.TextView;
import com.liuzh.deviceinfo.card.BatteryCard;

/* compiled from: lambda */
public final /* synthetic */ class a implements Runnable {
    public final /* synthetic */ com.liuzh.deviceinfo.card.BatteryCard.a a;
    public final /* synthetic */ double b;

    public /* synthetic */ a(com.liuzh.deviceinfo.card.BatteryCard.a aVar, double d) {
        this.a = aVar;
        this.b = d;
    }

    public final void run() {
        com.liuzh.deviceinfo.card.BatteryCard.a aVar = this.a;
        double d = this.b;
        if (d <= 0.0d) {
            BatteryCard.this.r.setText(2131690514);
            return;
        }
        TextView textView = BatteryCard.this.r;
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(d);
        stringBuilder.append(BatteryCard.this.getResources().getString(2131690062));
        textView.setText(stringBuilder.toString());
    }
}
